package com.lin.healthmanagement.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
public class User {
    private Integer id;
    private String userName;
    private String password;
    private String email;
    private String role;
    private Integer  deleteOr;

    public User(String userName, String password, String email, String role, Integer deleteOr) {
        this.userName = userName;
        this.password = password;
        this.email = email;
        this.role = role;
        this.deleteOr = deleteOr;
    }

    public User() {
    }
}
